Skip to content

Conversation

@therepanic
Copy link
Contributor

@therepanic therepanic commented May 9, 2025

As @bgiddens wrote in #2477, it was probably assumed that we didn't want the lowest priority, that's why we subtract 10. However, if we plus, then a stack overflow is triggered and vice versa, the order is highest.

Fixes: #2477

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label May 9, 2025
@mp911de mp911de added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels May 12, 2025
@mp911de mp911de self-assigned this May 12, 2025
mp911de pushed a commit that referenced this pull request May 13, 2025
Signed-off-by: Andrey Litvitski <[email protected]>

Closes: #2477
Original pull request: #2478
mp911de added a commit that referenced this pull request May 13, 2025
Add test.

See: #2477
Original pull request: #2478
mp911de pushed a commit that referenced this pull request May 13, 2025
Signed-off-by: Andrey Litvitski <[email protected]>

Closes: #2477
Original pull request: #2478
mp911de added a commit that referenced this pull request May 13, 2025
Add test.

See: #2477
Original pull request: #2478
mp911de pushed a commit that referenced this pull request May 13, 2025
Signed-off-by: Andrey Litvitski <[email protected]>

Closes: #2477
Original pull request: #2478
mp911de added a commit that referenced this pull request May 13, 2025
Add test.

See: #2477
Original pull request: #2478
@mp911de mp911de added this to the 4.3.12 (2024.0.12) milestone May 13, 2025
@mp911de
Copy link
Member

mp911de commented May 13, 2025

Thank you for your contribution. That's merged, polished, and backported now.

@mp911de mp911de closed this May 13, 2025
mp911de pushed a commit that referenced this pull request May 13, 2025
Signed-off-by: Andrey Litvitski <[email protected]>

Closes: #2477
Original pull request: #2478
mp911de added a commit that referenced this pull request May 13, 2025
Add test.

See: #2477
Original pull request: #2478
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integer overflow in bean ordering causes inadvertent prioritization

3 participants